package cn.tom.dao;

import cn.tom.entity.Order;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.HashMap;
import java.util.List;

@Mapper
public interface OrderDao {
    int add(Order order);
    Order findByid(@Param("uid")Integer uid
                  ,@Param("ordid")Integer ordid);
    List<Order> findOrderByPages(HashMap<String,Object> map);
    int total(HashMap<String,Object> map);
    int update(HashMap<String,Object> map);
}
